package com.chinaunicom.beanpostprocess;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2021/12/6 22:06
 * Description:
 */
public class Main {
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("beans-postprocess.xml");

		HelloController controller = (HelloController) context.getBean("helloController");

		controller.sayHello();
	}
}
